package com.ruoyi.member.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * #商家信息对象 bm_member
 * 
 * @author ruoyi-bai
 * @date 2023-08-02
 */
public class Member extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String businessName;

    /** 配送金额 */
    @Excel(name = "配送金额")
    private BigDecimal deliveryFee;

    /** 配送距离 */
    @Excel(name = "配送距离")
    private BigDecimal deliveryRadius;

    /** 商家地址 */
    @Excel(name = "商家地址")
    private String address;

    /** 店铺图片 */
    @Excel(name = "店铺图片")
    private String backImg;

    /** 地址坐标 */
    @Excel(name = "地址坐标")
    private String mapCode;

    /** 审核状态 0.未审核 1.已审核 */
    @Excel(name = "审核状态 0.未审核 1.已审核")
    private Long state;

    /** 营业状态 0.歇业 1.营业 */
    @Excel(name = "营业状态 0.歇业 1.营业")
    private Long workState;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String tel;

    /** 登陆密码 */
    @Excel(name = "登陆密码")
    private String password;

    /** 老板姓名 */
    @Excel(name = "老板姓名")
    private String trueName;

    /** 店铺类型 如：1.生活区便利店 2.商务区便利店 3.高铁站便利店等 */
    @Excel(name = "店铺类型 如：1.生活区便利店 2.商务区便利店 3.高铁站便利店等")
    private String shopType;

    /** 店铺登陆标识 */
    @Excel(name = "店铺登陆标识")
    private String token;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal amount;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date addTime;

    /** 删除标记 0.未删除 1.已删除 */
    @Excel(name = "删除标记 0.未删除 1.已删除")
    private Long isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setDeliveryFee(BigDecimal deliveryFee) 
    {
        this.deliveryFee = deliveryFee;
    }

    public BigDecimal getDeliveryFee() 
    {
        return deliveryFee;
    }
    public void setDeliveryRadius(BigDecimal deliveryRadius) 
    {
        this.deliveryRadius = deliveryRadius;
    }

    public BigDecimal getDeliveryRadius() 
    {
        return deliveryRadius;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setBackImg(String backImg) 
    {
        this.backImg = backImg;
    }

    public String getBackImg() 
    {
        return backImg;
    }
    public void setMapCode(String mapCode) 
    {
        this.mapCode = mapCode;
    }

    public String getMapCode() 
    {
        return mapCode;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setWorkState(Long workState) 
    {
        this.workState = workState;
    }

    public Long getWorkState() 
    {
        return workState;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setTrueName(String trueName) 
    {
        this.trueName = trueName;
    }

    public String getTrueName() 
    {
        return trueName;
    }
    public void setShopType(String shopType) 
    {
        this.shopType = shopType;
    }

    public String getShopType() 
    {
        return shopType;
    }
    public void setToken(String token) 
    {
        this.token = token;
    }

    public String getToken() 
    {
        return token;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessName", getBusinessName())
            .append("deliveryFee", getDeliveryFee())
            .append("deliveryRadius", getDeliveryRadius())
            .append("address", getAddress())
            .append("backImg", getBackImg())
            .append("mapCode", getMapCode())
            .append("state", getState())
            .append("workState", getWorkState())
            .append("tel", getTel())
            .append("password", getPassword())
            .append("trueName", getTrueName())
            .append("shopType", getShopType())
            .append("token", getToken())
            .append("amount", getAmount())
            .append("addTime", getAddTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
